<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,
    minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/swiper.min.css">

    <title>黑马面膜</title>
</head>

<body>
    <h2>黑马面面</h2>
    <ul class="nav">
        <li>
            <a href="#">
                <span class="icon"></span>
                <p>HR面试</p>
            </a>
        </li>
        <li>
            <a href="#">
                <span class="icon"></span>
                <p>HR面试</p>
            </a>
        </li>
        <li>
            <a href="#">
                <span class="icon"></span>
                <p>HR面试</p>
            </a>
        </li>
        <li>
            <a href="#">
                <span class="icon"></span>
                <p>HR面试</p>
            </a>
        </li>
        <li>
            <a href="#">
                <span class="icon"></span>
                <p>HR面试</p>
            </a>
        </li>
        <li>
            <a href="#">
                <span class="icon"></span>
                <p>HR面试</p>
            </a>
        </li>

    </ul>
    <!-- ad -->
    <div class="ad">
        <img src="images/go.png" alt="">
    </div>
    <!-- work 就业指导 -->
    <section class="work">
        <!-- 头部 -->
        <h5>
            <img src="./icons/i2.png" alt="">
            <p>就业指导</p>
            <a href="#">更多 >></a>
        </h5>
        <!-- 旋转轮播图 -->
        <div class="get_job_focus get_job_fo">
            <!-- Swiper -->
            <div class="swiper-container">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/pic.png" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/pic2.png" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/2.jpg" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>

                </div>

            </div>
            <!-- Add Arrows 添加箭头 -->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>

    </section>
    <!-- 充电学习模块 -->
    <section class="work study_con">
        <!-- 头部 -->
        <h5>
            <img src="./icons/i1.png" alt="">
            <p>充电学习</p>
            <a href="#">更多 >></a>
        </h5>
        <!-- 学习轮播图 -->
        <div class="get_study_focus">
            <div class="swiper-cont">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/pic1.png" alt="">
                            <p>说地道英语，告别中式英语</p>
                            <div><span>156</span><span>人学习</span></div>
                        </a>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/pic2.png" alt="">
                            <p>说地道英语，告别中式英语</p>
                            <div><span>125</span><span>人学习</span></div>
                        </a>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/2.jpg" alt="">
                            <p>说地道英语，告别中式英语</p>
                            <div><span>86</span><span>人学习</span></div>
                        </a>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/3.jpg" alt="">
                            <p>说地道英语，告别中式英语</p>
                            <div><span>100</span><span>人学习</span></div>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- footer 底部模块 -->
    <div class="footer">
        <ul>
            <li>
                <a href="#">
                    <img src="icons/home.png">
                    <p>首页</p>
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="icons/net.png">
                    <p>技术面试</p>
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="icons/ms.png">
                    <p>模拟面试</p>
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="icons/user.png">
                    <p>我的主页</p>
                </a>
            </li>
        </ul>
    </div>

    <script src="js/swiper.min.js"></script>
    <script src="./js/flexible.js"></script>
    <script>
        //   第一个函数里面是 就业指导轮播图
        (function() {
            var swiper = new Swiper('.swiper-container', {
                // 能够看到的个数
                slidesPerView: 2,
                // 每个slider的距离
                spaceBetween: 30,
                centeredSlides: true,
                loop: true,
                // 添加箭头
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                },
            });
        })();
        //   第二个函数里面是 学习轮播图
        (function() {
            // Initialize Swiper
            var swiper = new Swiper('.swiper-cont', {
                slidesPerView: 2.5,
                spaceBetween: 20,
                pagination: {
                    el: '.swiper-pagination',
                    clickable: true,
                },
            });
        })();
    </script>
</body>

</html>